/**
 * 
 */
Ext.define("AmpleHarvest.addOns.keyboard.cKey",
		{
			extend		: "Ext.button.Button",
			value		: "",
			uppercase	: "",
			lowercase	: "",
			alt			: "",
			altShift	: "",
			
			set_UpperCase :function(str_Char)
			{
				this.uppercase = str_Char;
			},
			
			set_LowerCase :function(str_Char)
			{
				this.lowercase = str_Char;
			},
			
			set_Alt :function(str_Char)
			{
				this.alt = str_Char;
			},
			
			set_AltShift :function(str_Char)
			{
				this.altShift = str_Char;
			},
			
			showLower	: function()
			{
				this.value = this.lowercase;
				this.set_Display(this.value);
			},
			
			showUpper	: function()
			{
				this.value = this.uppercase;
				this.set_Display(this.value);
			},
			
			forceUpdate :function()
			{
				this.update(this.value);
			},
			
			set_Display:function(str_Key)
			{
				try
				{
					this.getEl().dom.childNodes[0].data = str_Key;
				}
				catch(e)
				{
					this.update(str_Key);
				}
			}
			
		});